<?php use_stylesheet('/sf/sf_admin/css/main') ?>

<?php $post->setCulture(sfConfig::get('sf_i18n_default_culture')); ?>

<div id="sf_admin_container">

<h1><?php echo $post->getTitle(); ?></h1>

<div id="sf_admin_content">
<p><?php echo $post->getContent(); ?></p>
<p>
<?php foreach($post->getImages() as $image): ?>
<?php $image->setCulture(sfConfig::get('sf_i18n_default_culture')); ?>
    <?php echo image_tag('/'.sfConfig::get('sf_upload_dir_name').'/thumb_'.$image->getFileName(), array('alt' => $image->getCaption(), 'title' => $image->getCaption())); ?>
<?php endforeach; ?>
</p>
</div>

<div id="sf_admin_footer">
  <?php echo $post->getDatetime(); ?>
</div>

</div>